Optimal. Leaf size=85 \[ -\frac {2^{\frac {3}{2}+p} \sqrt {a+b x} \left (1+\frac {b x}{a}\right )^{-\frac {3}{2}-p} \left (a^2-b^2 x^2\right )^{1+p} \, _2F_1\left (-\frac {3}{2}-p,1+p;2+p;\frac {a-b x}{2 a}\right )}{b (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {694, 692, 71}
\begin {gather*} -\frac {2^{p+\frac {3}{2}} \sqrt {a+b x} \left (\frac {b x}{a}+1\right )^{-p-\frac {3}{2}} \left (a^2-b^2 x^2\right )^{p+1} \, _2F_1\left (-p-\frac {3}{2},p+1;p+2;\frac {a-b x}{2 a}\right )}{b (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 692
Rule 694
Rubi steps
\begin {align*} \int (a+b x)^{3/2} \left (a^2-b^2 x^2\right )^p \, dx &=\frac {\left (a \sqrt {a+b x}\right ) \int \left (1+\frac {b x}{a}\right )^{3/2} \left (a^2-b^2 x^2\right )^p \, dx}{\sqrt {1+\frac {b x}{a}}}\\ &=\left (a \sqrt {a+b x} \left (1+\frac {b x}{a}\right )^{-\frac {3}{2}-p} \left (a^2-a b x\right )^{-1-p} \left (a^2-b^2 x^2\right )^{1+p}\right ) \int \left (1+\frac {b x}{a}\right )^{\frac {3}{2}+p} \left (a^2-a b x\right )^p \, dx\\ &=-\frac {2^{\frac {3}{2}+p} \sqrt {a+b x} \left (1+\frac {b x}{a}\right )^{-\frac {3}{2}-p} \left (a^2-b^2 x^2\right )^{1+p} \, _2F_1\left (-\frac {3}{2}-p,1+p;2+p;\frac {a-b x}{2 a}\right )}{b (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 5 in
optimal.
time = 0.92, size = 189, normalized size = 2.22 \begin {gather*} \frac {2^{-1+p} \sqrt {a+b x} \left (1-\frac {b x}{a}\right )^{-p} \left (1+\frac {b x}{a}\right )^{-\frac {1}{2}-2 p} \left (b^2 (1+p) x^2 (a-b x)^p (a+b x)^p \left (\frac {1}{2}+\frac {b x}{2 a}\right )^p F_1\left (2;-p,-\frac {1}{2}-p;3;\frac {b x}{a},-\frac {b x}{a}\right )-2 \sqrt {2} a (a-b x) \left (a^2-b^2 x^2\right )^p \left (1-\frac {b^2 x^2}{a^2}\right )^p \, _2F_1\left (-\frac {1}{2}-p,1+p;2+p;\frac {a-b x}{2 a}\right )\right )}{b (1+p)} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.12, size = 0, normalized size = 0.00 \[\int \left (b x +a \right )^{\frac {3}{2}} \left (-b^{2} x^{2}+a^{2}\right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (- \left (- a + b x\right ) \left (a + b x\right )\right )^{p} \left (a + b x\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a^2-b^2\,x^2\right )}^p\,{\left (a+b\,x\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________